package thread.zjitc.net.lib.HomeWork2;

/**
 * @author 朱志文
 * @data 2019/10/20 0020
 */
public class Test2 extends Thread {
    public static void main(String[] args) {
        MyThread2 myThread2=new MyThread2();
        Thread thread=new Thread(new MyThreadRunnable(myThread2,1));
        Thread thread2=new Thread(new MyThreadRunnable(myThread2,2));
        Thread thread3=new Thread(new MyThreadRunnable(myThread2,3));
        thread.start();
        thread2.start();
        thread3.start();
    }
}
